<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<style>
	*{
		margin: 0px;
		padding: 0px;
	}
	table,h2{
		width: 800px;
		margin: 50px auto;
	}
	td{
		border: 1px solid red;
		line-height: 45px;
		height: 45px;
		text-align: center;
	}
	tr{
		height:40px;
		line-height:40px;
		tex-align:center;
	}

</style>
</head>
<body>
	<table>
		<tr>
			<td>序号</td>
			<td>电影型号</td>
			<td>电影作者</td>
			<td>电影时长</td>
			<td>购票价格</td>
			<td>剩余座位</td>
			
		</tr>
		<c:forEach items="${pageBean.data }" var="data">
		<tr>
			<td>${data.id }1111</td>
			<td>${data.index.pType }</td>
			<td>${data.maker }</td>
			<td>${data.big }</td>
			<td>${data.money }</td>
			<td>${data.cun }</td>
			<td><input type="button" value="删除"></td>
		</tr>
		</c:forEach>
	</table>
	<h2>
		<a href="UserServlet?currentPageNum=1">首页</a>
		<a href="UserServlet?currentPageNum=${pageBean.currentPageNum-1 }">上一页</a>
		<a href="UserServlet?currentPageNum=${pageBean.currentPageNum+1 }">下一页</a>
		<a href="UserServlet?currentPageNum=${pageBean.pageNum }">尾页</a>
	</h2>
</body>
</html>